<?php





$aa = array('henly'=>231,'lilei' => 12);
//echo json_encode($aa);die;

$ret_json='"%s":"%s"';
$bb = '{';
foreach($aa as $key => $val){
    $bb .= sprintf($ret_json,$key,$val);
}
echo $bb.'}';
die;


header('Content-Type:text/html;charset=utf-8');
show_source('./authentication/index.php');die;
$arr = array('username' => 'henly','password' => 'henly123456');
$str = addslashes(serialize($arr));
print_r(unserialize(stripcslashes($str)));die;
$str = 'abcde';
echo strtr($str,array('e'=>'c'));die;
print_r(count_chars($str));die;
echo strtotime('-1 day');die;

phpinfo();
